<?
/*
 *   Pmail easy way to send emails
 *   Copyright (C) 2009  Felipe Theodoro Gonçalves (www.ftgoncalves.com)
 *
 *   This program is free software: you can redistribute it and/or modify
 *	 it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
?>
<div id="page">
	<h2><?= __d('pmail', 'Initial Configuration') ?></h2>
	<form action="<?= $html->url('/pmail/configs/config') ?>" method="post" enctype="application/x-www-form-urlencoded">
		<fieldset>
			<legend><?= __d('pmail', 'initial data') ?></legend>
			<p>
				<label for="name"><?= __d('pmail', 'Root login') ?></label>
				<br/>
				<?= $form->text('login', array('class' => 'big', 'maxlength' => 10)); ?>
			</p>
			<p>
				<label for="address"><?= __d('pmail', 'Root password') ?></label>
				<br/>
				<?= $form->password('password', array('class' => 'big', 'maxlength' => 12)); ?>
			</p>
			<p>
				<label for="root"><?= __d('pmail', 'Root email') ?></label>
				<br/>
				<?= $form->text('email', array('class' => 'big', 'maxlength' => 80)); ?>
			</p>
			<p>
				<?= $form->hidden('active', array('value' => 1)); ?>
				<?= $form->submit('save', array('value' => 'Save', 'class' => 'button')); ?>
			</p>
		</fieldset>
	</form>
</div>
<div id="sidebar">
	<h4><?= __d('pmail', 'Coments') ?></h4>
	<p><?= __d('pmail', 'Information required') ?></p>
	<?= $this->renderElement('recommended/links') ?>
</div>
<div class="clear"></div>